package io.renren.modules.course.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import io.renren.modules.course.dao.CourseClassificationDao;
import io.renren.modules.course.entity.CourseClassificationEntity;
import io.renren.modules.course.service.CourseClassificationService;
import io.renren.modules.sys.entity.SysMenuEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class CourseClassificationServiceImpl extends ServiceImpl<CourseClassificationDao, CourseClassificationEntity> implements CourseClassificationService {

    @Autowired
    CourseClassificationDao courseClassificationDao;

    @Override
    public List<CourseClassificationEntity> getClassification(Map map) {
        return courseClassificationDao.getClassification(map);
    }

    @Override
    public List<SysMenuEntity> queryNotButtonList() {
        return courseClassificationDao.queryNotButtonList();
    }

    @Override
    public List<CourseClassificationEntity> getClassificationList() {
        return courseClassificationDao.getClassificationList();
    }
}
